package 服务定位器模式.impl;

import 服务定位器模式.Service;

//2.2创建实体服务
public class Service2 implements Service {
   public void execute(){
      System.out.println("Executing Service2");
   }

   @Override
   public String getName() {
      return "Service2";
   }
}
